export const adminMenu = {
  code: 0,
  type: "adminMenu",
  data: [
    {
      path: "/home",
      name: "home",
      component: "home/index",
      meta: {
        title: "首页",
        isLink: "",
        isHide: false,
        isKeepAlive: true,
        isAffix: true,
        isIframe: false,
        //auth: ["admin", "test"],
        icon: "mx-icon mx-icon-home",
      },
    },
    {
      path: "/system",
      name: "system",
      component: "layout/routerView/parent",
      //redirect: "/system/menu",
      meta: {
        title: "系统设置",
        isLink: "",
        isHide: false,
        isKeepAlive: true,
        isAffix: false,
        isIframe: false,
        //auth: ["admin"],
        icon: "mx-icon mx-icon-shezhi",
      },
      children: [
        {
          path: "/system/menu",
          name: "systemMenu",
          component: "system/menu/index",
          meta: {
            title: "菜单管理",
            isLink: "",
            isHide: false,
            isKeepAlive: true,
            isAffix: false,
            isIframe: false,
            auth: ["admin"],
            icon: "iconfont icon-caidan",
          },
        },
        {
          path: "/system/user",
          name: "systemUser",
          component: "system/user/index",
          meta: {
            title: "用户管理",
            isLink: "",
            isHide: false,
            isKeepAlive: true,
            isAffix: false,
            isIframe: false,
            auth: ["admin"],
            icon: "iconfont icon-icon-",
          },
        },
      ],
    },
    {
      path: "/menu",
      name: "menu",
      component: "layout/routerView/parent",
      //redirect: "/menu/menu1",
      meta: {
        title: "多级菜单",
        isLink: "",
        isHide: false,
        isKeepAlive: true,
        isAffix: false,
        isIframe: false,
        auth: ["admin", "test"],
        icon: "iconfont icon-caidan",
      },
      children: [
        {
          path: "/menu/menu1",
          name: "menu1",
          component: "layout/routerView/parent",
          //redirect: "/menu/menu1/menu11",
          meta: {
            title: "菜单1",
            isLink: "",
            isHide: false,
            isKeepAlive: true,
            isAffix: false,
            isIframe: false,
            auth: ["admin", "test"],
            icon: "iconfont icon-caidan",
          },
          children: [
            {
              path: "/menu/menu1/menu11",
              name: "menu11",
              component: "menu/menu1/menu11/index",
              meta: {
                title: "菜单1-1",
                isLink: "",
                isHide: false,
                isKeepAlive: true,
                isAffix: false,
                isIframe: false,
                auth: ["admin", "test"],
                icon: "iconfont icon-caidan",
              },
            },
            {
              path: "/menu/menu1/menu12",
              name: "menu12",
              component: "layout/routerView/parent",
              //redirect: "/menu/menu1/menu12/menu121",
              meta: {
                title: "菜单1-2",
                isLink: "",
                isHide: false,
                isKeepAlive: true,
                isAffix: false,
                isIframe: false,
                auth: ["admin", "test"],
                icon: "iconfont icon-caidan",
              },
              children: [
                {
                  path: "/menu/menu1/menu12/menu121",
                  name: "menu121",
                  component: "menu/menu1/menu12/menu121/index",
                  meta: {
                    title: "菜单1-2-1",
                    isLink: "",
                    isHide: false,
                    isKeepAlive: true,
                    isAffix: false,
                    isIframe: false,
                    auth: ["admin", "test"],
                    icon: "iconfont icon-caidan",
                  },
                },
                {
                  path: "/menu/menu1/menu12/menu122",
                  name: "menu122",
                  component: "menu/menu1/menu12/menu122/index",
                  meta: {
                    title: "菜单1-2-2",
                    isLink: "",
                    isHide: false,
                    isKeepAlive: true,
                    isAffix: false,
                    isIframe: false,
                    auth: ["admin", "test"],
                    icon: "iconfont icon-caidan",
                  },
                },
              ],
            },
            {
              path: "/menu/menu1/menu13",
              name: "menu13",
              component: "menu/menu1/menu13/index",
              meta: {
                title: "菜单1-3",
                isLink: "",
                isHide: false,
                isKeepAlive: true,
                isAffix: false,
                isIframe: false,
                auth: ["admin", "test"],
                icon: "iconfont icon-caidan",
              },
            },
          ],
        },
        {
          path: "/menu/menu2",
          name: "menu2",
          component: "menu/menu2/index",
          meta: {
            title: "菜单2",
            isLink: "",
            isHide: false,
            isKeepAlive: true,
            isAffix: false,
            isIframe: false,
            auth: ["admin", "test"],
            icon: "iconfont icon-caidan",
          },
        },
      ],
    },

    {
      path: "/link",
      name: "layoutLinkView",
      component: "layout/routerView/link",
      meta: {
        title: "外链",
        //isLink: "https://element-plus.gitee.io/#/zh-CN/component/installation",
        isLink: "http://localhost:8080/#/ifram1",
        isHide: false,
        isKeepAlive: false,
        isAffix: false,
        isIframe: false,
        auth: ["admin"],
        icon: "iconfont icon-caozuo-wailian",
      },
    },
    {
      path: "/iframes",
      name: "layoutIfameView",
      component: "layout/routerView/iframe",
      meta: {
        title: "内嵌iframe",
        // isLink: "https://gitee.com/lyt-top/vue-next-admin",
        isLink: "#/link1",
        isHide: false,
        isKeepAlive: true,
        isAffix: false,
        isIframe: true,
        auth: ["admin"],
        icon: "iconfont icon-neiqianshujuchucun",
      },
    },
  ],
};
